using UnityEngine;
using QFramework;

namespace ProjectSurvivor
{
	public partial class HitBox : GameplayObject
	{
		public GameObject Owner;//敌人
		void Awake()
		{
			mCollider2D = GetComponent<Collider2D>();
		}
		void Start()
		{
			if (!Owner)
			{
				Owner = transform.parent.gameObject;
			}

		}
		private Collider2D mCollider2D;
		protected override Collider2D Collider2D=>mCollider2D; 
	}

}

